package models;

import odk.lang.FastMath;

import org.cheffo.jeplite.function.PostfixMathCommand;
import org.cheffo.jeplite.util.DoubleStack;

public class FastCos extends PostfixMathCommand
{
	public FastCos()
	{
		numberOfParameters = 1;
	}
	
	public final void run(DoubleStack stack) 
	{ 
	    stack.push(FastMath.cos(stack.pop())); 
	} 
}